package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 文件信息表DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-17
 */
@Data
@ApiModel(value="FileInfoDTO对象", description="文件信息表")
public class FileInfoDTO extends BasicEntity {


    @ApiModelProperty(value = "UUID")
    private String code;

    @ApiModelProperty(value = "机构编码")
    private String branchCode;

    @ApiModelProperty(value = "关联的数据Code")
    private String linkCode;

    @ApiModelProperty(value = "文件类型")
    private Integer type;

    @ApiModelProperty(value = "文件名称")
    private String name;

    @ApiModelProperty(value = "文件地址")
    private String url;

    @ApiModelProperty(value = "图片格式")
    private String format;

    @ApiModelProperty(value = "备注信息")
    private String remark;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
